﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity
{
   public class RegionAreaInfo:BaseModel
    {
        string _id;
        public new string Id { get { return _id; } set { _id = value; base.Id = value; } }

        public string Name { get; set; } = "";
        public string ShortName { get; set; } = "";
        public string ParentId { get; set; } = "";

        public virtual RegionAreaInfo RegionArea { get; set; }

        public virtual ICollection<RegionAreaInfo> Sub { get; set; } = new HashSet<RegionAreaInfo>();
    }
}
